/*
* Copyright (c) 2007 by Kirill Kolodyazhniy.
* See the file "license.terms" for information on usage and redistribution.
*/

#include "odespace.h"

namespace Engine
{
	/***************************************************************************************************************/
	OdeSpace::OdeSpace(dSpaceID parent, const std::string& name)
		:Space(name)		
	{
		m_spaceID = dSimpleSpaceCreate(parent);		
	}
	/***************************************************************************************************************/
	OdeSpace::~OdeSpace()
	{
		dSpaceDestroy(m_spaceID);
	}
	/***************************************************************************************************************/
	dSpaceID OdeSpace::GetID()const
	{
		return m_spaceID;
	}
	/***************************************************************************************************************/
}
